package com.idTech.blocks;

import java.util.Random;

import com.idTech.iDTechModBase;

import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.creativetab.CreativeTabs;

public class GenericBlock extends Block 
{
	public GenericBlock(int par1, int par2) {
		super(par1, Material.rock);
		

        this.setCreativeTab(CreativeTabs.tabBlock);
        this.setHardness(89.3f);
        this.setResistance(89.5f);
        this.setStepSound(soundMetalFootstep);
        
		// TODO Auto-generated constructor stub
	}
	public GenericBlock(int par1, Material par2Material) {
		super(par1, par2Material);
		

        this.setCreativeTab(CreativeTabs.tabBlock);
		// TODO Auto-generated constructor stub
	}
	/**
     * Returns the ID of the items to drop on destruction.
     */
    public int idDropped(int par1, Random par2Random, int par3)
    {
        return Block.cobblestone.blockID;
    }
    
    public void registerIcons(IconRegister iconReg)
    {
    	blockIcon = iconReg.registerIcon("iDTechModBase:adventure");
    }
    
  

}
